package com.sumer.psychology.comment.domain.model;

import java.util.List;

/**
 * User: zhenguang.zhu
 * Date: 2014/8/13
 * Time: 16:16
 */
public interface CommentRepository {
    CommentId nextIdentity();

    void add(Comment aComment);

    Comment commentOfId(CommentId identity);

    List<Comment> commentsOfHost(CommentHost host);
}
